import { stringify } from "qs";
import request from "@/utils/request";

export async function BrandList(params) {
  return request(`/bank/query`, {
    method: "POST",
    body: {
      ...params
    }
  });
}

export async function removeBrand(params) {
  return request(`/bank/delete/${params.code}`, {
    method: "POST",
    body: {}
  });
}

export async function addUser(params) {
  return request("/bank/add", {
    method: "POST",
    body: {
      ...params
    }
  });
}

export async function editUser(params) {
  return request("/bank/edit", {
    method: "POST",
    body: {
      ...params
    }
  });
}


export async function clientDetail(params) {
  return request(`/bank/detail/${params.bankNo}`, {
    method: "POST",
    body:{}
  });
}

export async function brandstatus(params) {
  return request("/bank/status/update", {
    method: "POST",
    body: params
  });
}
